<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
	function callback(json){
		console.log(json);
		alert(json.name);
	}
</script>
</head>
<body>
<form action="uploadfile.action" method="post" enctype="multipart/form-data" target="receiver">
	文件：<input type="file" name="file"><br>
	元数据：<input type="text" name="meta" value=""><br>
	回调方法：<input type="text" name="callback" value="callback"><br> 
	<input type="submit" value="上传">
</form>

<iframe name="receiver"></iframe>
</body>
</html>